package com.lufei.dh.ExList.Bean;

import com.chad.library.adapter.base.entity.AbstractExpandableItem;
import com.chad.library.adapter.base.entity.MultiItemEntity;

/**
 * 版权：易金卡沃 版权所有
 * <p>
 * 作者：lufeifei
 * <p>
 * 创建日期：2018/6/9
 * <p>
 * 描述：
 * <p>
 * 修订历史：
 */
public class Level1Item extends AbstractExpandableItem<String> implements MultiItemEntity{
    private String name;
    private boolean isShow;

    public Level1Item(String name, boolean isShow) {
        this.name = name;
        this.isShow = isShow;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public boolean isShow() {
        return isShow;
    }

    public void setShow(boolean show) {
        isShow = show;
    }
    @Override
    public int getLevel() {
        return 1;
    }

    @Override
    public int getItemType() {
        return 1;
    }
}
